Chip correct and fault isolation in computer memory systems

ABSTRACT

Systems and methods for implementing chip correct and fault isolation in computer memory systems are disclosed. An exemplary method may include interleaving check bits with a data word to form at least one interleaved data word. The method may also include writing the at least one interleaved data word to memory in critical word order zero. The method may also include performing a check and correct operation on the at least one interleaved data word before returning the data word to a requesting device.

TECHNICAL FIELD

The described subject matter relates to computer memory systems, and more particularly, to chip correct and fault isolation in computer memory systems.

BACKGROUND

Computer devices are typically provided with extensive memory systems, increasing the probability of memory errors. Memory errors may occur in the computer memory during a store and/or retrieve operation, causing incorrect or even no data at all being returned. These memory errors may be “soft” or “hard” errors. Soft memory errors occur when data randomly changes state. Hard memory errors occur when one or more of the computer memory chips fail. Both types of memory errors are undesirable, and may even be unacceptable, particularly in high-end computer systems, such as, e.g., in network servers.

Error Correction Code (ECC) operations may be implemented to handle soft memory errors. ECC algorithms typically include check bits along with the data bits being stored in memory. When the data is retrieved from memory, the ECC algorithm evaluates the check bits and data bits to automatically detect and correct errors in the data. Although the ECC algorithm may detect multiple-bit errors, only correct single-bit errors can be corrected.

Advanced ECC operations (also referred to as “chip correct”) are available to detect and correct multi-bit memory errors. In addition, advanced ECC algorithms also report errors (e.g., to the system BIOS or other firmware). The error reports may be used to identify hard memory errors so that one or more failed memory modules can be replaced.

However, conventional ECC algorithms implement a word size that must be less than or equal to the smallest critical word length. Accordingly, these ECC algorithms do not provide the desired level of data correction/fault isolation.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a high-level block diagram of a write data path for an exemplary computer memory system in which chip correct and fault isolation may be implemented.

FIG. 2 is a high-level block diagram illustrating a read data path for the exemplary computer memory system shown in FIG. 1.

FIG. 3 is an illustration of exemplary data check bit alignment and nibble interleave operations.

FIG. 4 is an illustration of exemplary write operations for direct attached memory.

FIG. 5 is an illustration of exemplary write operations for memory subsystems using a memory expander component.

FIG. 6 is an illustration of exemplary write operations for memory subsystems using a larger capacity memory expander component.

FIG. 7 is an illustration of an exemplary H-matrix alignment for critical word order zero that may be implemented for read operations.

FIG. 8 is an illustration of an exemplary H-matrix alignment for critical word order one that may be implemented for read operations.

FIG. 9 is a flowchart illustrating exemplary write operations to implement chip correct and fault isolation in computer memory systems.

FIG. 10 is a flowchart illustrating exemplary read operations to implement chip correct and fault isolation in computer memory systems.

FIG. 11 is a flowchart illustrating alternative read operations to implement chip correct and fault isolation in computer memory systems.

FIG. 12 is a flowchart illustrating exemplary fault isolation operations.

DETAILED DESCRIPTION

Exemplary embodiments of chip correct and fault isolation implement interleaving to enable use of a wide ECC word over a collection of narrower data chunks of arbitrary alignment, with minimum latency impact. Exemplary embodiments may also implement data alignment and/or multiplexing operations. Accordingly, the systems and methods described herein allow greater chip correct functionality and finer fault isolation granularity, resulting in higher availability and reliability of the computer memory system.

Exemplary Systems

FIG. 1 is a high-level block diagram illustrating a write data path 105 for an exemplary computer memory system 100, in which chip correct and fault isolation may be implemented. Exemplary computer memory system 100 may include a requester interface 110 communicatively coupled to the write data path 105 via write data path controller 120. Requestor interface 110 may include a requesting device (e.g., a processor) and/or a system bus (not shown). Requestor interface 110 may also be communicatively coupled with a memory controller 130 for one or more data pads 140, 150 coupled to memory modules 145, 155, respectively.

Write data path 105 includes a write data path controller 120 communicatively coupled with a check bit generator 160 and a write storage array 170. Check bit generator 160 generates check bits for the data to be written to memory. In an exemplary embodiment, the data is 256 bits wide and includes a corresponding error correction code that is 32 bits wide. Output of the write storage array 170 is coupled to an input of one or more of data pads 140, 145.

Check bit generator 160 may be provided with Error Correction Code (ECC) circuitry. ECC (and advanced ECC) is well understood in the art and may be implemented to perform encode, decode, and correct operations for computer memory systems. Generally, ECC algorithms which may be implemented for check bit generator 160 detect and correct errors on a byte or nibble basis (e.g., single byte, double byte, single nibble, etc.). An exemplary ECC algorithm may implement a decoding procedure of a [36, 32, 5] shortened narrow-sense Reed-Solomon Code over GF(2ˆ8). The ECC encode operations produce 32 check bits that are stored with every 256 bits of data (i.e., 288 bits total word length) in a process of XOR'ing all of the entries in an ECC H-matrix whose corresponding bits in the input data word are set. It is noted, however, that other ECC (and Advanced ECC) algorithms may also be implemented for memory system 100.

Write storage array 170 may include a plurality of storage cells. In an exemplary embodiment, write storage array 170 is a 288×128 storage array with 128 cells, each cell being 288 bits wide. Write storage array 170 is designed to store thirty-two cache lines addressable in quarter cache line portions, for a total of 128 288-bit wide storage locations. A cache line is typically the minimum size data set that a requestor interface may request.

Upon receipt of memory data and associated control signals from the requester interface 110 and Memory Controller 130, write data path controller 120 asserts one or more control signals. Control signals are provided to storage array 170 and are used to control the write operations.

FIG. 2 is a high-level block diagram illustrating a read data path 200 for the exemplary computer memory system 100 shown in FIG. 1. The read data path 200 includes a read data path controller 210 communicatively coupled with a read storage array 220 and a bypass circuit 230. Read data path 200 may also include a critical word multiplexer 240. The inputs of critical word multiplexer 240 are coupled to an output of one or more of data pads 140, 145 and to an output of read data path controller 210. The output of critical word multiplexer 240 is coupled to an input of read storage array 220 and an input of bypass circuit 230. The output of read storage array 220 is communicatively coupled to an input of bypass circuit 230, the output of which is in turn communicatively coupled to requestor interface 110 via ECC module 250.

Read storage array 220 may include a plurality of storage cells. In an exemplary embodiment, read storage array 220 is a 288×128 storage array with 128 cells, each cell being 288 bits wide. Read storage array 220 is designed to store thiry-two cache lines addressable in ¼ cache line portions, for a total of 128 288-bit wide storage locations.

Critical word multiplexer 240 receives data from one or more of the memory modules 145, 155 via data pads 140, 150, respectively. The width of data received from the data pads may vary depending on the operating mode of read data path controller 210. As such, critical word multiplexer 240 may queue the data so that data of a valid or acceptable width may be provided to requester interface 110. Furthermore, depending on the mode of operation of read data path controller 210, the data may be received from the data pads at different clock intervals. For example, data may be received every clock cycle or every other clock cycle.

Read data path controller 210 may assert control signals that are used to control read and write operations at read storage array 220. Read data path controller 210 may also assert control signals instructing critical word multiplexer 240 to format data received from data pads 140, 145 into the word order requested by a requesting device.

Data from critical word multiplexer 240 is provided to read storage array 220 and/or to bypass circuit 230. In the exemplary embodiment, formatted data for the ECC module 250 is preferably 288 bits wide.

As discussed above for the write data path 105, an exemplary ECC algorithm may implement a decoding procedure of a [36, 32, 5] shortened narrow-sense Reed-Solomon Code over GF(2ˆ8). Exemplary ECC correction operations may include: 1) computing a systematic syndrome using the same process as the encoding operation, 2) converting the systematic syndrome to a power sum syndrome by XOR'ing the systematic syndrome with a series of predefined T matrixes, 3) decoding the power sum syndrome using log, exponent, and square root tables to indicate the byte location of the error(s) and generate the corrected data byte(s), and 4) inserting the corrected data into the data word. Output from the decoding operation may include an ErrorLoc0 value identifying the byte location of the first corrupted data byte, and an ErrorLoc1 value identifying the byte location of the second corrupted data byte.

Output from the decoding operation may also include an ErrorVal0 having 8 bits of data used to correct the first corrupted data byte, and an ErrorVal1 having 8 bits of data used to correct the second corrupted data byte. A flag may also indicate if an error is uncorrectable.

Read data path controller 210 may also generate and provide control signals to read storage array 220 and bypass circuit 230 to inform them that the data arriving via critical word multiplexer 240 is valid in the current clock cycle. Output data from read storage array 220 may be routed to bypass circuit 230. Read data path controller 210 may also generate and provide control signals to bypass circuit 230. Control signals instruct bypass circuit 230 to hold output data received from read storage array 220.

FIG. 3 is an illustration of exemplary data check bit alignment and nibble interleave operations. At 300, a quarter cache line may be received at a computer memory system for a write operation. For purposes of illustration, the quarter cache line is illustrated as a data word 310 having a plurality of data bits 315.

At 320, check bits 325 may be generated (e.g., by check bit generator 160 in FIG. 1) for the data word 310. The resulting data word includes 288 bits (256 bits of data and 32 check bits), which can be grouped into “nibbles” (i.e., each nibble containing a half byte or 4 bits). Accordingly, each 288 bit data word has 72 nibbles (designated n0-n71 in FIG. 3).

At 330, the data word and check bits may be logically partitioned. In an exemplary embodiment, a logically partitioned data word 335 includes 144 bits in a first partition 336 (nibbles n0-n35) and 144 bits in a second partition 337 (nibbles n36-n71).

At 340, the data word and check bits may be interleaved. In an exemplary embodiment, the interleaved data word 345 includes “even” nibbles (e.g., n0, n2 . . . n68, n70) in the first partition 336 and “odd” nibbles (e.g., n1, n3. n69, n71) in the second partition 337.

At 350, the interleaved data word 345 is written to the data pads 360 as two memory data words 351, 352 e.g., “Data Word 0” and “Data Word 1”). The first memory data word 351 includes the interleaved nibbles from the first partition 336 and the second memory data word 351 includes the interleaved nibbles from the second partition 337.

Because the ECC algorithm may operate on the full data word on each clock cycle, it is important to describe how each bit or group of bits within the memory bus data chunk is distributed during write operations. Exemplary bit alignment for the memory data words 351, 352 is discussed below with reference to the illustrations in FIGS. 4-6 for write operations with different memory types. Note, that regardless of the type of memory, data is written to the memory in critical word order zero.

Before continuing, it is noted that the term critical word order as used herein refers to the order bits are written to and read from memory. Critical word order zero refers to a case wherein the lower X number (e.g., 4) of address bits are set to zero causing the data bits to be read from or written to memory in sequential order.

FIG. 4 is an illustration of exemplary write operations 400 for a direct attached memory configuration. In particular, FIG. 4 shows the memory data words 410, 420 (e.g., corresponding to memory data words 351, 352, respectively, in FIG. 3) as each is delivered to the data pads 430 and driven out of the data pads 430 onto the memory bus for memory modules 470, 480. Nibble distribution during the write operation is also shown in FIG. 4 in brackets { }.

In a direct attached memory configuration, the first memory data word 410 is distributed to memory modules 470 and 480 (such as a DDR DIMM module) on the rising edge of the write strobe; indicated as write operation 440 a. The second data word 420 is distributed to memory modules 470 and 480 on the falling edge of the write strobe; indicated as write operation 440 b. Further, the nibbles are aligned such that adjacent nibbles (e.g., n0 and n1; n2 and n3; etc.) are both stored in the same ×4 device (e.g., 450 a-r or 460 a-r, such as a ×4 DRAM device). Alternatively, if a ×8 device is implemented in the target memory modules 470 and 480, adjacent bytes (e.g., nibbles 0-3, nibbles 4-7, etc.) are stored at the same ×8 device (e.g., 450 a-h or 460 a-h, such as a ×8 DRAM device)

Accordingly, when data is returned during a read operation, a dead ×4 memory device will result in a single aligned byte error in the ECC word (e.g., data word and check bits 320 in FIG. 3) and a dead ×8 memory device will result in two adjacent aligned byte errors in the ECC word, both of which are correctable. Thus, the data alignment method allows correction of one x×8 or two ×4 faulty DRAM memory devices.

FIG. 5 is an illustration of exemplary write operations 500 for a memory subsystem with a memory expander. The term “memory expander” as used herein refers to multiplexer hardware which connects directly a memory chipset and directs bits from the core memory controller for read and/or write operations to multiple memory devices (e.g., DIMMs). The memory expander thereby enables the use of a greater number of memory devices without having to modify the core memory controller. FIG. 5 shows the memory data words 510, 520 (e.g., corresponding to memory data words 351, 352, respectively, in FIG. 3) as each is delivered to the data pads 530 and driven out of the data pads 530 onto the memory bus for memory expanders 550, 560. Nibble distribution throughout the write operation is also shown in FIG. 5 in brackets { }.

In a memory expander configuration, the first memory data word 510 is distributed to memory expanders 550 and 560 on the rising edge of the write strobe (referred to in FIG. 5 as write operation 540 a). The second data word 520 is distributed to memory expanders 550, 560 on the falling edge of the write strobe (referred to in FIG. 5 as write operation 540 b). After internal data buffering and routing at the memory expanders 550 and 560, the combined data words 510 and 520 are distributed to memory modules 580-583 in a single write operation (e.g., on a single edge of a write strobe). Further, in ×4 devices (e.g., ×4 DRAM devices), the nibbles are aligned such that each nibble is stored in a separate ×4 device (e.g., 570 a-r, 571 a-r, 572 a-r, and 573 a-r). It is noted that if ×8 devices (e.g., ×8 DRAM devices) are implemented in the target memory module 580-583, each aligned byte (e.g., nibbles 0 and 1, nibbles 2 and 3, etc.) is stored in a separate ×8 memory device (e.g., 570 a-h, 571 a-h, 572 a-h, and 573 a-h).

Accordingly, when data is returned during a read operation read, both a dead ×4 memory device (e.g., 570 a-r, 571 a-r, 572 a-r, and 573 a-r) and a ×8 dead memory device (e.g., 570 a-h, 571 a-h, 572 a-h, and 573 a-h) result in a single aligned byte error in the ECC word and two failing memory devices may be corrected.

In order to enable fault isolation, all of the data groupings in the lower 72 bits of the data bus are routed to memory expander 0 and all the data groupings in the upper 72 bits of the data bus are routed to memory expander 1. Further, all of the data groupings in the lower 72 bits of each memory expander are routed to one memory module, and all of the data groupings in the upper 72 bits of each memory expander are routed to one memory module. Accordingly, an ECC failure in any one or more of the bytes in the ECC word indicate failures in the computer memory system as shown in Table 1. TABLE 1 Fault Isolation in Memory Expander Configuration of FIG. 5 Failure in ECC word Location of Faulty DIMM Lower 18 bytes Even bytes (0, 2, 4, etc.) Memory Expander 0, Bus 0 (590) Odd Bytes (1, 3, 5, etc.) Memory Expander 0, Bus 1 (591) Upper 18 bytes Even bytes (18, 20, 22, etc.) Memory Expander 1, Bus 0 (592) Odd Bytes (19, 21, 23, etc.) Memory Expander 1, Bus 1 (593)

It is noted that other data routings are possible that yield a more complicated fault isolation function. In such embodiments, the data routing throughout the memory system may be designed such that each aligned byte (e.g., nibbles 0 and 1, nibbles 2 and 3, etc.) of the original data word (e.g., 320 in FIG. 3) is routed with all of the bits of the aligned byte going to adjacent ×4 devices. Alternately, in systems using ×8 devices, each aligned byte of the original data word is routed with all of the bits of the aligned byte going to a single ×8 device. It is noted that such an embodiment also enables implementation of either ×4 or ×8 memory devices in the memory subsystem while still preserving chip correct and fault isolation capability.

FIG. 6 is an illustration of exemplary write operations 600 for an alternative memory expander system. In this embodiment, each memory expander writes to either of the two output memory buses (e.g., 690 a or 690 b, 691 a, 691 b, etc.) but not to both for each write transaction. It is noted that in this memory expander system, the chip select may be implemented to determine both the memory bus and the memory module on the memory bus accessed for each write operation. In particular, FIG. 6 shows the memory data words 610, 620 (e.g., corresponding to memory data words 351, 352, respectively in FIG. 3) as each is delivered to the data pads 630 and driven out of the data pads 630 onto the memory bus for memory expanders 650-653. Nibble distribution during the write operation is also shown in FIG. 6 in brackets { }.

In the memory expander configuration shown in FIG. 6, the first memory data word 610 is distributed to memory expanders 650-653 on the rising edge of the write strobe (referred to in FIG. 6 as write operation 640 a). The second memory data word 620 is distributed to memory expanders 650-653 on the falling edge of the write strobe (referred to in FIG. 6 as write operation 640 b). More particularly, nibbles n0-n17 in memory data words 610 and 620 are distributed to memory expander 0, and nibbles n18-n35 are distributed to memory expander 1. Similarly, nibbles 36-53 in memory data words 610 and 620 are distributed to memory expander 2 and nibbles 54-71 are distributed to memory expander 3. After internal data buffering and routing at the memory expanders 650-653, the combined data words 610 and 620 are distributed to memory modules 680-683 in a single write operation (e.g., during a single edge of a write strobe). Further, in ×4 devices (e.g., ×4 DRAM devices), the nibbles are aligned such that each nibble is stored in a separate ×4 device (e.g., 670 a-r, 671 a-r, 672 a-r, and 673 a-r). It is noted that if ×8 devices (e.g., ×8 DRAM devices) are implemented in the target memory module 680-683, each aligned byte (e.g., nibbles 0 and 1, nibbles 2 and 3, etc.) is stored in a separate ×8 memory device (e.g., 670 a-h, 671 a-h, 672 a-h, and 673 a-h).

Accordingly, when data is returned during a read operation, both a dead ×4 memory device (e.g., 670 a-r, 671 a-r, 672 a-r, and 673 a-r) and a ×8 dead memory device (e.g., 670 a-h, 671 a-h, 672 a-h, and 673 a-h) result in a single aligned byte error in the ECC word and two failing memory devices may be corrected.

In order to enable fault isolation, all of the data groupings in each successive group of 36 bits of the data bus are routed to the correct memory expander, as shown in FIG. 6. As in the memory expander configuration shown in FIG. 5, all the data groupings in the lower 72 bits of each memory expander are routed to one memory module and all the data groupings in the upper 72 bits of each memory expander are routed to one memory module. Accordingly, an ECC failure in any one or more of the bytes in the ECC word indicate failures in the computer memory system as shown in Table 2. TABLE 2 Fault Isolation in Memory Expander Configuration of FIG. 6 Failure in ECC word Location of Faulty DIMM Bytes 0-8 Memory Expander 0 Bytes 9-17 Memory Expander 1 Bytes 18-26 Memory Expander 2 Bytes 27-35 Memory Expander 3

In the memory expander configuration shown in FIG. 6, the chip select may be examined to determine which memory bus (e.g., 690 a-b, 691 a-b, 692 a-b, and 693 a-b) and which memory module within that bus resulted in an ECC error.

It is noted that other data routings are possible that yield a more complicated fault isolation function. In such embodiments, the data routing throughout the memory system may be designed such that each aligned byte (e.g., nibbles 0 and 1, nibbles 2 and 3, etc.) of the original data word (e.g., 320 in FIG. 3) is routed with all of the bits of the aligned byte going to adjacent ×4 devices. Alternately, in systems using ×8 devices, each aligned byte of the original data word is routed with all of the bits of the aligned byte going to a single ×8 device. It is noted that such an embodiment also enables implementation of either ×4 or ×8 memory devices in the memory subsystem while still preserving chip correct and fault isolation capability.

Before continuing, it should be understood that the systems and methods described herein are not limited to any particular type or configuration of memory. The memory configurations described with reference to FIGS. 4-6 are shown for purposes of illustration only, and other implementations will also be apparent to those having ordinary skill in the art after having become familiar with the teachings herein.

Having described write operations with reference to FIGS. 3-6, read operations for the computer memory system will now be described. When data is read from memory, the ECC check and correct function of the ECC algorithm is applied before returning the data to the requesting device.

During a read operation, data is read from the memory modules such that each quarter cache line is returned in critical word order 0. However, a requesting device (e.g., processor) may request data from the memory system in a variety of different critical word orders (e.g., any one of eight possible critical word orders). Accordingly, the memory system may be provided with a multiplexer (MUX), e.g., internal to the memory controller. The MUX may be implemented to arrange each quarter cache line into its requested order before storing the quarter cache line in a latch array for later retrieval. The quarter cache line may be arranged such that the ECC check bits reside in the lower 32 bits of the ECC word and only the upper 255 bits of data are re-ordered.

Now, however, the critical word order of the data may not match the critical word order of the data when the check bits were generated. In order to avoid rearranging the data for ECC operations, the H-matrix associated with the particular ECC algorithm chosen for the implementation may be rearranged instead.

FIGS. 7 and 8 are illustrations of exemplary H-matrix alignments in critical word order zero or one. The H-matrix 700 may correspond to the data word 710 and check bits 720, wherein the lower 32 H-matrix entries correspond to the ECC check bits 720, the next 128 H-matrix entries correspond to the first critical word size chunk of data word 720 in the quarter cache line, and the upper 128 H-matrix entries correspond to the second critical word size chunk of data word 720 in the quarter cache line.

During a read operation, each bit of the data word 710 and check bits 720 may be AND'd with all of the bits in the corresponding entry in the H-matrix. The results are then XOR'd to generate a syndrome of width equal to the width of one H-matrix entry. The syndrome may be used by the ECC algorithm for check and correct operations.

The H-matrix input to the ECC algorithm may be rearranged, e.g., as shown for critical word order one in FIG. 8, although H-matrices may be aligned for any critical word order requested by the requesting device. Accordingly, H-matrix 800 entries are realigned to maintain correspondence between each bit of the quarter cache and its associated H-matrix entry, which correspondence was established when the check bits were generated. Thus, for any quarter cache line, the check and correct operation may be carried out with the data and check bits aligned in any order as requested by the processor as long as the ordering of the H-matrix entries is equivalently aligned prior to the check and correct operation.

It is noted that H-matrix realignment may be done on the clock preceding the data read-out from the storage array, thus hiding the latency inherent in rearranging data and allowing the data to flow to the requesting device with minimal latency. It is also noted that the exemplary implementations discussed above are provided for purposes of illustration. Still other implementations are also contemplated.

Exemplary Operations

FIGS. 9-12 are flowcharts illustrating exemplary operations to implement chip correct and fault isolation in computer memory systems. The operations may be embodied as logic in a computer memory system. In an exemplary embodiment, the components and connections depicted in the figures may be used to implement the chip correct and fault isolation operations in computer memory systems.

FIG. 9 is a flowchart illustrating exemplary write operations 900 to implement chip correct and fault isolation in computer memory systems. In operation 910 a data word is received by a computer memory system in critical word order zero. In operation 920, check bits are generated for the data word. In operation 930, the data word and check bits are partitioned and interleaved. In operation 940, the partitioned and interleaved data are delivered to one or more memory pads in the computer memory system.

FIG. 10 is a flowchart illustrating exemplary read operations 1000 to implement chip correct and fault isolation in computer memory systems. In operation 1010 a request for a data word is received by a computer memory system. In operation 1020, the partitioned and interleaved data is read from one or more memory modules in critical word order zero (i.e., the same order it was written). In operation 1030, the data word is arranged with check bits in a lower portion and data bits in an upper portion in the critical word order requested (e.g., by a requestor interface). In operation 1040, an H-matrix associated with the selected ECC algorithm is realigned to match the requested critical word order of the cache line. In operation 1050, check and correct operations are performed on the data word before returning the data word (e.g., to the requester interface).

FIG. 11 is a flowchart illustrating alternative read operations 1100 to implement chip correct and fault isolation in computer memory systems. In operation 1110 a request for a data word is received by a computer memory system. In operation 1120, the partitioned and interleaved data is read from one or more memory modules in critical word order zero (i.e., the same order it was written). In operation 1130, the data word is arranged with check bits in a lower portion and data bits in an upper portion in critical word order zero. In operation 1140, check and correct operations are performed on the data word. In operation 11 50, the data word is realigned to the requested critical word order before returning the data word (e.g., to the requestor interface).

FIG. 12 is a flowchart illustrating exemplary fault isolation operations 1200. It is noted that operations 1210-1230 and operations 1240-1260 are generally executed in parallel (i.e., at approximately the same time) and the results are combined for operation 1270, as illustrated in FIG. 12. However, the operations are not limited to any particular timing. For example, operations 1210-1230 may occur before operations 1240-1260 (or vice versa). The operations may also be offset. By way of illustration, operation 1210 may be executed in parallel with operations 1240-1250, operation 1220 may be executed in parallel with operation 1260, and operation 1230 may be executed after operations 1240-1260 have executed.

In operation 1210, a location of corrupted data is received from check and correct operations. In operation 1220, failures and associated data bytes are isolated in the data word. In operation 1230, error location(s) in the data word are mapped to a physical data bus error location.

In operation 1240, a physical address for a failed transaction is received, e.g., from transaction tracking logic. In operation 1250, the physical address may be mapped to a chip select. In operation 1260, the chip select accessed for the failed transaction may be used to determine the rank of memory modules containing the failure.

In operation 1270, fault isolation information from operations 1210-1230 and operations 1240-1260 may be used to identify a failed memory module and memory device, e.g., based on the error location determined in operations 1210-1230 and the rank determined in operations 1240-1260.

The operations shown and described herein are provided to illustrate exemplary embodiments of chip correct and fault isolation in computer memory systems. It is noted that the operations are not limited to the ordering shown. In other embodiments, still other operations may be implemented to enable chip correct and fault isolation in computer memory systems.

In addition to the specific implementations explicitly set forth herein, other aspects and implementations will be apparent to those skilled in the art from consideration of the specification disclosed herein. It is intended that the specification and illustrated implementations be considered as examples only, with a true scope and spirit of the following claims. 

1. A method of chip correct and fault isolation in a computer memory system, comprising: interleaving check bits with a data word to form at least one interleaved data word; writing the at least one interleaved data word to memory in critical word order zero; and performing a check and correct operation on the at least one interleaved data word before returning the data word to a requesting device.
 2. The method of claim 1 further comprising partitioning the interleaved data word to form a plurality of interleaved data words.
 3. The method of claim 1 further comprising receiving a request for the data word before performing the check and correct operation.
 4. The method of claim 1 further comprising reading the at least one interleaved data word from memory in critical word order zero before performing the check and correct operation.
 5. The method of claim 1 further comprising arranging the at least one interleaved data word with check bits in a first portion and data bits in a second portion before performing the check and correct operation.
 6. The method of claim 1 further comprising realigning an H-matrix for the ECC Algorithm to match a requested critical word order before performing the check and correct operation.
 7. The method of claim 1 further comprising: aligning data bits in the data word to critical word order zero before performing the check and correct operation; and realigning the data bits in the data word to match the requested critical word order after performing the check and correct operation.
 8. The method of claim 1 further comprising identifying a failed memory module based on an error location and chip select of a failed transaction.
 9. The method of claim 8 further comprising: receiving an error location of corrupted data from the check and correct operation; isolating data bits in the data word associated with an error; mapping the isolated data bits to the error location to identify the failed memory module.
 10. The method of claim 8 further comprising: receiving a physical memory address for a failed transaction from the check and correct operation; mapping the physical address for the failed transaction to an associated chip select; and determining a rank accessed for the failed transaction to identify the failed memory module.
 11. A computer memory system, comprising: at least one data pad; a write data path operatively associated with the at least one data pad, the write data path interleaving and partitioning check bits with data bits and issuing the interleaved and partitioned check bits and data bits to the at least one data pad in critical word order zero; a read data path operatively associated with the at least one data pad, the read data path retrieving the interleaved and partitioned check bits and data bits from the at least one data pad for a device requesting a data word; and an ECC module operatively associated with the read data path, the ECC module checking and correcting the retrieved interleaved and partitioned check bits and data bits before returning the requested data word.
 12. The system of claim 11 further comprising a memory controller operatively associated with the at least one data pad, the memory controller reading the interleaved and partitioned check bits and data bits from the at least one data pad in critical word order zero.
 13. The system of claim 12 further comprising a multiplexer operatively associated with the memory controller, the multiplexer arranging the check bits in a first portion and the data bits in a second portion of the requested data word.
 14. The system of claim 12 further comprising an H-matrix for the selected ECC algorithm, wherein the H-matrix is rearranged to match a requested critical word order before the ECC module performs check and correct operations.
 15. The system of claim 12 wherein the data bits are arranged in the requested data word matching critical word order zero before the ECC module performs check and correct operations, and the data bits are rearranged in the requested data word matching the requested critical word order after the ECC module performs check and correct operations.
 16. The system of claim 11 further comprising program code for identifying failed memory based on an error location of a failed transaction provided by the ECC module and chip select of a failed transaction derived from transaction tracking data.
 17. A system, comprising: means for partitioning and interleaving check bits with data bits from a data word; means for writing the partitioned and interleaved check bits and data bits to memory in critical word order zero; and means for checking and correcting the interleaved check bits and data bits before returning a requested data word to a requesting device.
 18. The system of claim 17 further comprising: means for realigning an H-matrix for the selected ECC algorithm to match a requested critical word order before checking and correcting the interleaved check bits and data bits.
 19. The system of claim 17 further comprising: means for aligning data bits in the data word to match critical word order zero before checking and correcting the interleaved check bits and data bits; and means for realigning the data bits in the data word to match the requested critical word order after checking and correcting the interleaved check bits and data bits.
 20. The system of claim 17 further comprising means for identifying failed memory based on an error location of a failed transaction provided by the means for checking and correcting and chip select of a failed transaction based on transaction tracking data. 